package com.ainiyar.springweb.controller.applet;

import com.ainiyar.springweb.common.result.ResultResponse;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**************************************
 * File Name : UserController
 * Created with : IntelliJ IDEA.
 * Author : 艾尼亚尔·毛拉吾提
 * QQ : 524155792  WeChat : ainiyar0124
 * Created Time : 2024/2/4  16:31
 * Desc :
 ***************************************/
@RestController
public class UserController {
    @GetMapping("/user")
    public ResultResponse<String> index() {
//        throw new RuntimeException("异常捕获");
        return ResultResponse.Success("这是小程序页面");
    }
}

